package com.qfedu.so.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 千锋Java,为你而生！
 *
 * @Author: Feri
 * @Date:2024/11/15 09:00
 * @Modified:
 */
@FeignClient(value = "xingstorage")
public interface StorageService {
    @GetMapping("server/storageTbl/querycount")
    Integer queryCount(@RequestParam("code") String code);
    @GetMapping("server/storageTbl/updatecount")
    Integer updateCount(@RequestParam("code") String code,@RequestParam("money") Integer money);
}
